package com.chenliang.tk.config;//package com.chenliang.core.config.tkmybatis;

import tk.mybatis.mapper.genid.GenId;

import java.util.UUID;

/**
 * @program: myes
 * @description:
 * @author: 陈英俊
 * @create: 2021-09-16 14:11
 */
public class UUIdGenId implements GenId<String> {

    @Override
    public String genId(String table, String column) {
        return UUID.randomUUID().toString().replaceAll("(-)", "");
    }
}
